home *** CD-ROM | disk | FTP | other *** search
/ CD Actual: Windows XP / CDWindowsXP.iso / Datos / Visio / flash / visio10_ui.swf / scripts / DefineButton2_280 / BUTTONCONDACTION on(keyPress Tab).as
Encoding:
Text File  |  2001-03-22  |  1.1 KB  |  48 lines

  1. on(keyPress "<Tab>"){
  2.    trace("Tab Key Pressed");
  3.    if(tabCount == 0)
  4.    {
  5.       _root.Exit.gotoAndStop("exitOut");
  6.       Selection.setFocus(_root.mainMenu);
  7.    }
  8.    else if(tabCount == 1)
  9.    {
  10.       Selection.setFocus(_root.VisitVisio);
  11.    }
  12.    else if(tabCount == 2)
  13.    {
  14.       Selection.setFocus(_root.busPro);
  15.       _root.VisitVisio.gotoAndStop("visitOut");
  16.    }
  17.    else if(tabCount == 3)
  18.    {
  19.       _root.busPro.gotoAndStop("busOut");
  20.       Selection.setFocus(_root.itNet);
  21.    }
  22.    else if(tabCount == 4)
  23.    {
  24.       _root.itNet.gotoAndStop("itNetOut");
  25.       Selection.setFocus(_root.dataSoft);
  26.    }
  27.    else if(tabCount == 5)
  28.    {
  29.       _root.dataSoft.gotoAndStop("dataOut");
  30.       Selection.setFocus(_root.facMan);
  31.    }
  32.    else if(tabCount == 6)
  33.    {
  34.       _root.facMan.gotoAndStop("facManOut");
  35.       Selection.setFocus(_root.Personalize);
  36.    }
  37.    else if(tabCount == 7)
  38.    {
  39.       _root.Personalize.gotoAndStop("ptOut");
  40.       Selection.setFocus(_root.back01);
  41.    }
  42.    else if(tabCount == 8)
  43.    {
  44.       Selection.setFocus(_root.Exit);
  45.    }
  46.    tabCount = (tabCount + 1) % 9;
  47. }
  48.